#ui-message {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5715;
    list-style: none;
    font-feature-settings: "tnum";
    position: fixed;
    top: 8px;
    left: 0;
    z-index: 1010;
    width: 100%;
    pointer-events: none;
    padding-top: 66px;
}
.ui-message-bg {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    // position: fixed;
    z-index: 2021;
    width: 100%;
    animation-name: message-show;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
}
.ui-message-room {
    position: absolute;
}
.ui-message-content {
    background-image: linear-gradient(180deg, #40a9ff 0%, #1890ff 50%, #096dd9 100%);
    color: #f9f9f9;
    padding: 10px 30px;
    font-size: 14px;
    font-family: PingFangSC-Regular;
    display: flex;
    align-items: center;
    position: relative;
    max-width: 50%;
    word-break: break-all;
    .iconfont {
        padding-right: 14px;
        font-size: 20px;
    }
    &::before {
        position: absolute;
        bottom: 0;
        left: 0;
        content: "";
        width: 100%;
        height: 1px;
        background-image: linear-gradient(90deg, rgba(0, 231, 255, 0) 0%, #00e7ff 48%, rgba(1, 227, 254, 0) 100%);
    }
}
.ui-message-white {
    background-color: #fff;
    color: #333;
    box-shadow: 2px 2px 5px 0px rgba(39, 57, 77, 0.12);
}

@keyframes message-show {
    0% {
        transform: translateY(-40px);
        opacity: 0;
    }
    25% {
        transform: translateY(-30px);
        opacity: 0.25;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10px);
        opacity: 1;
    }
}
@keyframes message-hidden {
    0% {
        transform: translateY(-10px);
        opacity: 1;
    }
    25% {
        transform: translateY(-20px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px);
        opacity: 0.25;
    }
    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}
